package com.etc.entity;

import java.util.Date;

public class Dynamic {
    private Integer dyid;

    private String dytitle;

    private String dycontent;

    private String dypicpath;

    private String dyviopath;

    private Date dydate;

    public Dynamic() {
		super();
	}

	public Dynamic(Integer dyid, String dytitle, String dycontent, String dypicpath, String dyviopath, Date dydate) {
		super();
		this.dyid = dyid;
		this.dytitle = dytitle;
		this.dycontent = dycontent;
		this.dypicpath = dypicpath;
		this.dyviopath = dyviopath;
		this.dydate = dydate;
	}

	@Override
	public String toString() {
		return "Dynamic [dyid=" + dyid + ", dytitle=" + dytitle + ", dycontent=" + dycontent + ", dypicpath="
				+ dypicpath + ", dyviopath=" + dyviopath + ", dydate=" + dydate + "]";
	}

	public Integer getDyid() {
        return dyid;
    }

    public void setDyid(Integer dyid) {
        this.dyid = dyid;
    }

    public String getDytitle() {
        return dytitle;
    }

    public void setDytitle(String dytitle) {
        this.dytitle = dytitle == null ? null : dytitle.trim();
    }

    public String getDycontent() {
        return dycontent;
    }

    public void setDycontent(String dycontent) {
        this.dycontent = dycontent == null ? null : dycontent.trim();
    }

    public String getDypicpath() {
        return dypicpath;
    }

    public void setDypicpath(String dypicpath) {
        this.dypicpath = dypicpath == null ? null : dypicpath.trim();
    }

    public String getDyviopath() {
        return dyviopath;
    }

    public void setDyviopath(String dyviopath) {
        this.dyviopath = dyviopath == null ? null : dyviopath.trim();
    }

    public Date getDydate() {
        return dydate;
    }

    public void setDydate(Date dydate) {
        this.dydate = dydate;
    }
}